<style>
    .xh-form .btn{
        margin-right: 0px;
    }
    .xh-form tr td:nth-child(2n){
        padding: 5px 20px 5px 0;
    }
    td >label{
        float: right;
        margin-right: 10px;
    }
    body{
        background-color: #f9f9f9;
    }
</style>
<script>
    var prodInfo={{ prodInfo }};
    {{ check }}
</script>
<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table style="width: 100%">
            <tr>
                <td style="width: 75px"><label>商品名称</label></td>
                <td colspan="3"><input name="sProdName" must="true" type="text" maxlength="50"><input name="iProdId" type="hidden"></td>
            </tr>
            <tr>
                <td><label>商品类型</label></td>
                <td colspan="3"><select name="iTypeId"  must="true">
                        <option   value="" style="display: none" selected="selected">请选择</option>
                        {% for id,text in  types %}
                            <option value="{{ id }}">{{ text }}</option>
                        {% endfor %}
                    </select>
                </td>
            </tr>
            <tr>
                <td><label>单位</label></td>
                <td colspan="3"><input name="sMeasures" type="text" placeholder="只/箱/盒"></td>
            </tr>
            <tr>
                <td><label>默认个数</label></td>
                <td colspan="3"><input name="iDefNum" type="number" placeholder="整箱或袋中的数量"></td>
            </tr>
            <tr>
                <td><label>采购价</label></td>
                <td><input name="iInPrice" type="number" placeholder="采购价格"></td>
                <td><label>销售价</label></td>
                <td><input name="iOutPrice" type="number" placeholder="销售价格"></td>
            </tr>

        </table>
    </div>
</form>